//
//  deliveryOrder.h
//  VivaModa
//
//  Created by Sergey on 3/27/13.
//  Copyright (c) 2013 private_busines. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DejalActivityView.h"
#import <QuartzCore/QuartzCore.h>
#import "procent_delivery_of_zone.h"
#import "PickerAlertView.h"


@interface deliveryOrder : UIViewController<UIAlertViewDelegate>{
    Reachability* internetReach;
}
@property(nonatomic,retain) IBOutlet UITableView *tableView;
@property (nonatomic, retain) NSMutableData *emspost_locations_data;
@property (nonatomic, retain) NSMutableData *customer_data;
@property (nonatomic, retain) NSMutableData *payment_data;
@property (nonatomic, retain) NSMutableData *sendOrderData;

@property(nonatomic,retain) NSURLConnection *connection_get_emspost_locations;
@property(nonatomic,retain) NSURLConnection *connection_customer_data;
@property(nonatomic,retain) NSURLConnection *connection_get_payment;
@property(nonatomic,retain) NSURLConnection *connection_sendOrder;





@property(nonatomic,retain) IBOutlet UIView *commentView;
@property(nonatomic,retain) IBOutlet UITextView *commentField;
@property(nonatomic,retain) IBOutlet UIButton *saveCommentBtn;
@property(nonatomic,retain) IBOutlet UIButton *sendReqestBtn;
@property(nonatomic,retain) IBOutlet UIButton *addCommentBtn;
@property(nonatomic,retain) IBOutlet UIButton *type_payments;

@property(nonatomic,retain) IBOutlet UILabel *user_name;
@property(nonatomic,retain) IBOutlet UILabel *user_street_adress;
@property(nonatomic,retain) IBOutlet UILabel *user_region;
@property(nonatomic,retain) IBOutlet UILabel *user_city;
@property(nonatomic,retain) IBOutlet UILabel *user_coutry;
@property (nonatomic) BOOL needReload;

@property(nonatomic) int emount;

-(IBAction)sendOrder:(id)sender;
@end
